package com.urea.system.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.urea.system.domain.CustomerAccountDetail;

/**
 * 账户流水Service接口
 * 
 * @author liuzd
 * @date 2023-08-01
 */
public interface ICustomerAccountDetailService extends IService<CustomerAccountDetail>
{
    /**
     * 查询账户流水
     * 
     * @param id 账户流水主键
     * @return 账户流水
     */
    public CustomerAccountDetail selectCustomerAccountDetailById(Long id);

    /**
     * 查询账户流水列表
     * 
     * @param customerAccountDetail 账户流水
     * @return 账户流水集合
     */
    public List<CustomerAccountDetail> selectCustomerAccountDetailList(CustomerAccountDetail customerAccountDetail);

    /**
     * 新增账户流水
     * 
     * @param customerAccountDetail 账户流水
     * @return 结果
     */
    public int insertCustomerAccountDetail(CustomerAccountDetail customerAccountDetail);

    /**
     * 修改账户流水
     * 
     * @param customerAccountDetail 账户流水
     * @return 结果
     */
    public int updateCustomerAccountDetail(CustomerAccountDetail customerAccountDetail);

    /**
     * 批量删除账户流水
     * 
     * @param ids 需要删除的账户流水主键集合
     * @return 结果
     */
    public int deleteCustomerAccountDetailByIds(Long[] ids);

    /**
     * 删除账户流水信息
     * 
     * @param id 账户流水主键
     * @return 结果
     */
    public int deleteCustomerAccountDetailById(Long id);
}
